package top.songxs.dao;

import org.springframework.stereotype.Repository;
import top.songxs.base.BaseDao;
import top.songxs.entity.AdminRole;

import java.util.List;
@Repository
public interface AdminRoleDao extends BaseDao<AdminRole> {
    List<Long> findRoleByAdminId(Long adminId);

    void deleteByAdminId(Long adminId);
}
